/**
 * Copyright 2016-2018 mobaas.com
 */
package com.mobaas.devops.service;

import java.util.Date;
import java.util.List;

import com.mobaas.devops.model.VcsDayStat;
import com.mobaas.devops.model.VcsMonthStat;

/**
 * 
 * @author billy zhang
 * 
 */
public interface VcsStatService {

	List<String> selectVcsUserList(Date beginDate, Date endDate);
	
	List<VcsDayStat> selectDayStatList(Date beginDate, Date endDate);

	List<VcsDayStat> selectDayStatListByUser(String user, Date beginDate, Date endDate);
	
	List<VcsDayStat> selectDayStatListForDayMax( Date beginDate, Date endDate);
	
	List<VcsMonthStat> selectMonthStatList(int limit);
	
	void insertDayStat(List<VcsDayStat> list);
	
	void insertMonthStat(List<VcsMonthStat> list);

	List<VcsDayStat> selectDayStatListByDate(Date date);

	List<VcsMonthStat> selectMonthStatListByMonth(String month);
}
